Dekoratives Banner

File Class


    Description

      The File class contains methods and attributes common to File objects. A File object corresponds to a disk file.

      Also included in this class are all attributes and methods within the FileSystem class, as those apply to Files as well as Folders.

      Note that the difference between the File Class and File Object is that the class attributes and methods require no specific instance of a File, whereas class methods and attributes do.

    (Class Attributes inherited from FileSystem Class)

      fs

      see FileSystem fs Class Attribute

      The name of the file system; read-only.

    Methods

      File()
      new File()

      see File() Class Method

      constructs a new File object.

      openDialog()

      see File openDialog() Class Method

      Opens the built-in OS dialog to select an existing file to open.

      saveDialog()

      see File saveDialog() Class Method

      Opens the built-in OS dialog to select a file name to save a file into.

    (Class Methods inherited from FileSystem Class)

      decode()

      see FileSystem decode() Class Method

      decodes the input string from UTF-8

      encode()

      see FileSystem encode() Class Method

      encodes the input string in UTF-8